package cn.tedu.imop.basic.entity;

import lombok.Data;

import java.util.List;

@Data
public class Area {
    private Long id;
    private Long parentId;
    /**地址编码*/
    private String addressCode;
    /**城市编码*/
    private String cityCode;
    /**省,市,区,名称*/
    private String name;
    /**省,市,区*/
    private Integer depth;
    /**是否删除*/
    private Integer isDelete;
    /**是否是直辖市*/
    private Integer isMunicipality;
    /**多层机构数据存储*/
    private List<Area> children;
}